<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
?><link rel="stylesheet" href="/static/css/user.css" id="css_user">
<script type="text/javascript">
$(function(){
	var _w = $(window).width();
	if(_w < 600) {
		$('#css_user').attr('href','/static/css/m_user.css');
	}
});
</script>
<div class="user-main container">
  <div class="user-menu">
  	  <div class="user-menu-item">
	  	  <p><i class="fa fa-circle-o"></i>安全中心</p>
	      <ul>
	          <li 
<?php
if ($ctl == 'safe') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('safe');?>"><?php echo lang('user_safe_set');?><i class="fa fa-angle-right"></i></a></li>
	          <li 
<?php
if ($ctl == 'loginlog') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('loginlog');?>"><?php echo lang('user_safe_log');?><i class="fa fa-angle-right"></i></a></li>
	      </ul>
      </div>
      <div class="user-menu-item">
	      <p><i class="fa fa-circle-o"></i>个人账户</p>
	      <ul>
	          <li 
<?php
if ($ctl == 'account') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('account');?>"><?php echo lang('user_info');?><i class="fa fa-angle-right"></i></a></li>
	          <li 
<?php
if ($ctl == 'intro') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('intro');?>"><?php echo lang('user_intro');?><i class="fa fa-angle-right"></i></a></li>
	      </ul>
      </div>
      <div class="user-menu-item">
      	  <p><i class="fa fa-circle-o"></i>资金管理</p>
	      <ul>
	        <li 
<?php
if ($ctl == 'money') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('money');?>"><i class="fa fa-angle-right"></i><?php echo lang('money_tit');?></a></li>
			<li 
<?php
if ($ctl == 'into') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('into');?>"><i class="fa fa-angle-right"></i><?php echo lang('money_coin_fill');?></a></li>
			<li 
<?php
if ($ctl == 'out') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('out');?>"><i class="fa fa-angle-right"></i><?php echo lang('money_coin_draw');?></a></li>
			<li 
<?php
if ($ctl == 'channels') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('channels');?>"><i class="fa fa-angle-right"></i><?php echo lang('money_account');?></a></li>
			<li 
<?php
if ($ctl == 'item_lock') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('item_lock');?>"><i class="fa fa-angle-right"></i>投资锁定</a></li>
	      </ul>
      </div>
      <div class="user-menu-item">
      	  <p><i class="fa fa-circle-o"></i>项目管理</p>
	      <ul>
	      	<li 
<?php
if ($ctl == 'item_add') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('item_add');?>"><i class="fa fa-angle-right"></i>发起项目</a></li>
	      	<li 
<?php
if ($ctl == 'item_manage') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('item_manage');?>"><i class="fa fa-angle-right"></i>我发起的项目</a></li>
	        <li 
<?php
if ($ctl == 'item_support') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('item_support');?>"><i class="fa fa-angle-right"></i>我支持的项目</a></li>
	      </ul>
      </div>
      <div class="user-menu-item">
      	  <p><i class="fa fa-circle-o"></i>PUSH管理</p>
	      <ul>
	      	<li 
<?php
if ($ctl == 'push_manage') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('push_manage');?>"><i class="fa fa-angle-right"></i>PUSH转账</a></li>
	      	<li 
<?php
if ($ctl == 'push_log') {
?>class="on"<?php
}

?>><a href="<?php echo site_url('push_log');?>"><i class="fa fa-angle-right"></i>交易记录</a></li>
	      </ul>
      </div>
  </div>